Skip to content

Conversation

craigds
Copy link
Contributor

@craigds craigds commented Oct 5, 2025

Fixes #1419

Implements a contextmanager to manage a reference transaction. The contextmanager commits the transaction on exit, unless exited via an exception.

Docs and tests are included.

@craigds craigds force-pushed the reference-transactions branch from 82e4783 to 09743e2 Compare October 5, 2025 02:55
@craigds craigds force-pushed the reference-transactions branch from 09743e2 to d0a1743 Compare October 5, 2025 03:12
@craigds craigds changed the title Add an implementation of reference transactions Implement reference transactions Oct 5, 2025
@jdavid jdavid merged commit d0a1743 into libgit2:master Oct 5, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support reference transactions?
2 participants